#!/bin/bash
cd /home/erji-admin
docker stop erji-admin || true
docker rm erji-admin || true
docker rmi erji-admin || true
docker build --build-arg PROFILE=dev -t erji-admin .
docker run -d -e PROFILE=dev -e 'JAVA_OPTS=-Xmx256m -Xms128m' -p 30000:30000 --restart=always --name erji-admin erji-admin
